{% extends "sil18VitrineBundle:Default:administration.html.twig" %}

{% block contentAdmin %}
    <h3>Commande</h3>

    <table class="record_properties">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ entity.id }}</td>
            </tr>
            <tr>
                <th>Date</th>
                <td>{{ entity.date|date('Y-m-d H:i:s') }}</td>
            </tr>
            <tr>
                <th>Etat</th>
                <td>{{ entity.etat }}</td>
            </tr>
        </tbody>
    </table>

    {{ form(delete_form) }}
    <p>
        <a href="{{ path('commande_edit', { 'id': entity.id }) }}">
            <span class="glyphicon glyphicon-cog" ></span> Editer
        </a>
    </p>
    <p>
        <a href="{{ path('commande') }}">
            <span class="glyphicon glyphicon-share-alt" ></span> Retour à la liste
        </a>
    </p>
{% endblock %}
